VoiceGuide IVR Software Main Page
Jump to content

Multiple Sound Files

Recommended Posts

I have been trying to get the [Play Sound File] module to play successive wav files and it is not working. I keep getting a "invalid file name" error. I have version 5.2.3010. I am entering the path as follows:

 

C:\Wav Files\Customer.wav, C:\Wav Files\Pin.wav

 

Is there a bug or am I just doing something wrong?

Share this post


Link to post

That should work with no problems, unless either C:\Wav Files\Customer.wav or C:\Wav Files\Pin.wav does not exit...

 

Could you please post a copy of VoiceGuide's Debug Printout which captures the problem, this will allow us to see what is going wrong.

(When running the script click on VoiceGuide's View menu and select 'Event Trace Log' option - any log information will then appear in this window. You must open the trace window before making the call.)

 

Try also specifying:

 

1.wav, 2.wav

 

That should results in "one two" being played...

Share this post


Link to post

Here is the log

 

162326.16  9 linedevstate 2048 0 0
162326.16  9 callstate OFFERING 65706 0 4
162326.20  9 Lev_CallerID [3083835584,CELLULARONE,0000]
162326.21  9 rv    add [DNIS]{0000}
162326.21  9 callinfo CALLEDID
162326.21  9 callinfo ORIGIN
162326.21  9 ring 0
162332.18  9 ring 2
162332.18  9 Answer the call at 10/10/2004 4:23:32 PM
162332.19  9 lineAnswer(65706) => 65689
162332.71  9 callstate CONNECTED 65706 1 0
162332.72  9 callstate CONNECTED 65706,1,0
162332.72  9 WorkingModeTAPI@Connected=
162332.72  9 WorkingModeScript@Connected=
162332.77  9 Inband detection not enabled
162332.77  9 StartLoadedVgs at 10/10/2004 4:23:32 PM
162332.77  9 AddRVns [ScriptsPath]{C:\Program Files\VoiceGuide\Scripts\}
162332.77  9 AddRVns [ScriptPath]{C:\Program Files\VoiceGuide\Scripts}
162332.77  9 rv    add [$RV_STARTTIME]{10/10/2004 4:23:32 PM}
162332.77  9 rv    add [$RV_DEVICEID]{9}
162332.78  9 rv    add [$RV_CIDNAME]{CELLULARONE}
162332.78  9 AddRVns [PathApp]{C:\Program Files\VoiceGuide\}
162332.78  9 rv    add [$RV_CIDNUMBER]{3083835584}
162332.78  9 tapi  Reply (LineEvReply) ok 65689 0
162332.79  9 callinfo MONITORMODES
162332.79  9 timer clear
162332.79  9 [Play 60] Playing
162332.80  9 [Play 60] Playing (C:\Wav\Pin.wav, C:\Wav\cust.wav)
162332.80  9 play set playid=685676
162332.92  9 PlaySoundStart err=[0 play  PlaySoundStart ResetWavOutAndContinuePlay=>32,play  pss   EnsureWaveOutIsOpenAndReady=>play  waveOutOpen mapped failed WAVERR_BADFORMAT] [C:\Wav\Pin.wav,C:\Wav\cust.wav]
162332.92  9 path {WAVERR_BADFORMAT} not found
162332.92  9 play set playid=685676
162333.02  9 timer clear
162333.02  9 RunModule PLAY end
162333.03  9 play  end old playid returned=0 (current=685676)
162333.03  9 wa(4433,68567600)

Share this post


Link to post

Just to elaborate on this problem, I found that VoiceGuide 5.2.3063 will report "Invalid Filename" when using the play button in Script Designer > Play, but when running the script over the phone line will work just fine. Apparently the built-in player cannot parse the multiple filenames.

 

Tim

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×